<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>横向菜单</title>
    <style type="text/css">
        /*初始化*/
        * {
            margin: 0;
            padding: 0;
            font-size: 14px;
        }
        ul {
            list-style: none;

        }
        li a {
            float:left;
            text-decoration: none;
            display: block;
            height: 30px;
            align:center;
            line-height: 30px;
            margin-right: 1px;
            padding:5px;
            color: #000;
            background: #e9e9e9;
        }

        li a:hover{
            background: #ffae25;
            color: #ffffff;
        }
    </style>
</head>
<body>
<div>
    <ul>
        <li><a href="#">首   页</a> </li>
        <li><a href="#">新闻资讯</a> </li>
        <li><a href="#">产品介绍</a> </li>
        <li><a href="#">客户案例</a> </li>
        <li><a href="#">联系我们</a> </li>
    </ul>
</div>
</body>
</html>